package me.zhengjie.sqlservice.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import me.zhengjie.mapper.WcsFluentFrameOutboundDetailsHistoryMapper;
import me.zhengjie.pojo.entity.WcsFluentFrameOutboundDetailsHistory;
import me.zhengjie.sqlservice.WcsFluentFrameOutboundDetailsHistoryService;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class WcsFluentFrameOutboundDetailsHistoryServiceImpl extends ServiceImpl<WcsFluentFrameOutboundDetailsHistoryMapper, WcsFluentFrameOutboundDetailsHistory> implements WcsFluentFrameOutboundDetailsHistoryService {
    private final WcsFluentFrameOutboundDetailsHistoryMapper wcsFluentFrameOutboundDetailsHistoryMapper;

    @Override
    public boolean insertFluentFrameOutboundDetailsHistory(WcsFluentFrameOutboundDetailsHistory wcsFluentFrameOutboundDetailsHistory) {
        return wcsFluentFrameOutboundDetailsHistoryMapper.insert(wcsFluentFrameOutboundDetailsHistory) >0;
    }
}
